package com.aoxon.cargo.service;

import java.util.HashMap;

import com.aoxon.cargo.bean.GsonBean;

/**
 * 根据内容获取商家搜索提示文本的服务
 * @author ZZJ
 *
 */
public class SearchSupplierTipsService extends MyService{

	/**
	 * 根据文本获取商家提示文本数据
	 * @param startIndex
	 * @param length
	 * @param searchText
	 * @return
	 */
	public GsonBean execute(int startIndex, int length,
			String searchText) {

		url = "searchSupplierWord" + suffix;

		params = new HashMap<String, String>();
		params.put("searchText", searchText);
		params.put("startIndex", String.valueOf(startIndex));
		params.put("length", String.valueOf(length));

		return doPost();
	}
	
}
